home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 2 / Gold Medal Software Volume 2 (Gold Medal) (1994).iso / windows / win31 / macsyma.arj / MACSDEMO.EXE / TEX.OUT < prev    next >
Text File  |  1993-09-15  |  1KB  |  61 lines

  1. |$label(0,15,Times New Roman,$(d0$))done
  2. (c1) EXAMPLE(TEX);
  3.  
  4.  
  5. (c2) show_macsyma_source_with_tex_code;
  6. |$label(0,15,Times New Roman,$(d2$))true
  7.  
  8. (c3) tex_mult_space:'none$
  9.  
  10. (c4) tex("\\magnification=\\magstep2")$
  11. C:\MACSD2B\share\tex.fas being loaded.
  12.  
  13. (c5) tex(timedate())$
  14.  
  15. (c6) tex(x^2+2*x+1=(x+1)^2, %e^x/2+%gamma+%phi+3/4)$
  16. % X^2+2*X+1 = (X+1)^2
  17.  $$
  18. % %E^X/2+%PHI+%GAMMA+3/4
  19.  $$
  20. (c7) tex(sin(x)^2+cos(x)^2=1)$
  21. % SIN(X)^2+COS(X)^2 = 1
  22.  $$
  23. (c8) tex('integrate(f(x),x,minf,inf))$
  24. % 'INTEGRATE(F(X),X,MINF,INF)
  25.  $$
  26. (c9) tex('limit(g(x),x,%pi))$
  27. % 'LIMIT(G(X),X,%PI)
  28.  $$
  29. (c10) tex('sum(f[i],i,0,n)+'prod(g[i],i,1,m))$
  30. % 'PRODUCT(G[I],I,1,M)+'SUM(F[I],I,0,N)
  31.  $$
  32. (c11) tex(gamma(n)+beta(m,n))$
  33. % GAMMA(N)+BETA(M,N)
  34.  $$
  35. (c12) tex(x^2*'diff(y,x,2)-3*x*'diff(y,x)+4*y=0)$
  36. % X^2*'DIFF(Y,X,2)-3*X*'DIFF(Y,X,1)+4*Y = 0
  37.  $$
  38. (c13) tex('pdiff(f(x,y),x,2,y,3))$
  39. % 'PDIFF(F(X,Y),X,2,Y,3)
  40.  $$
  41. (c14) tex(sqrt(x)+x^(1/3)+nthrt(n,x))$
  42. % SQRT(X)+X^(1/3)+NTHRT(N,X)
  43.  $$
  44. (c15) tex("This is a random piece of text...")$
  45.  
  46. (c16) tex(theta(x)+cap_theta(x)+uncap_gamma(x))$
  47. % UNCAP_GAMMA(X)+THETA(X)+CAP_THETA(X)
  48.  $$
  49. (c17) tex(matrix([x+y,0],[1,x-y]))$
  50. % MATRIX([Y+X,0],[1,X-Y])
  51.  $$
  52. (c18) tex(a<=b)$
  53. % A <= B
  54.  $$
  55. (c19) tex('(not a and b))$
  56. % not A and B
  57.  $$
  58. |$label(0,15,Times New Roman,$(d20$))done
  59. (c21) CLOSEFILE();
  60.  
  61.